package com.julius.fingertip.member.feigns;

import com.julius.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @InterfaceName: CouponFeignService
 * @FileDescription:
 * @CreateName: zpen
 * @CreateDate: 2020/6/4 22:37
 */
@FeignClient("fingertip-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/info/{id}")
    R info(@PathVariable("id") Long id);
}
